package engine.exceptions;

public class MADException extends RuntimeException{

	private static final long serialVersionUID = 1L;

	private final Exception ex; 
	private final EExceptionCause cause ; 
	
	public MADException(EExceptionCause cause, Exception e){
		this.ex = e ; 
		this.cause = cause ; 
	}

	public Exception getEx() {
		return ex;
	}

	public EExceptionCause getECause() {
		return cause;
	}
	
	
	
}
